input.ng-invalid{
    border: 3px solid red;
}
input.ng-valid{
    border: 3px solid green;
}